package edu.upb.acs.jobsmaps.database.task;

import android.os.AsyncTask;
import edu.upb.acs.jobsmaps.database.mysql.ExternalDatabaseHelper;

/**
 * Created by dani on 5/26/2014.
 */
public class AddRatingTask extends AsyncTask<String, Void, Integer> {
	@Override
	protected Integer doInBackground(String... params) {
		String valueRating = params[0];
		String companyId = params[1];
		Integer ratingId = ExternalDatabaseHelper.addRating(valueRating, companyId);

		return ratingId;
	}
}
